package com.ruoyi.system.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 检查对象 pacs_study
 * 
 * @author ruoyi
 * @date 2025-03-09
 */
public class PacsStudy extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private Long id;

    /** 机构ID */
    @Excel(name = "机构ID")
    private Long deptId;

    /** 病人ID */
    @Excel(name = "病人ID")
    private Long patId;

    /** 检查日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "检查日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date studyTime;

    /** 上传日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "上传日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date uploadTime;

    /** 登记号 */
    @Excel(name = "登记号")
    private String accessionNo;

    /** 检查编号 */
    @Excel(name = "检查编号")
    private String studyNo;

    /** 检查序列号 */
    @Excel(name = "检查序列号")
    private String studyIuid;

    /** 设备类型 */
    @Excel(name = "设备类型")
    private String mode;

    /** 检查描述 */
    @Excel(name = "检查描述")
    private String studyDesc;

    /** 盐 */
    @Excel(name = "盐")
    private String solt;

    /** 创建日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "创建日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date createdTime;

    /** 更新日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "更新日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date updatedTime;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }

    public void setDeptId(Long deptId) 
    {
        this.deptId = deptId;
    }

    public Long getDeptId() 
    {
        return deptId;
    }

    public void setPatId(Long patId) 
    {
        this.patId = patId;
    }

    public Long getPatId() 
    {
        return patId;
    }

    public void setStudyTime(Date studyTime) 
    {
        this.studyTime = studyTime;
    }

    public Date getStudyTime() 
    {
        return studyTime;
    }

    public void setUploadTime(Date uploadTime) 
    {
        this.uploadTime = uploadTime;
    }

    public Date getUploadTime() 
    {
        return uploadTime;
    }

    public void setAccessionNo(String accessionNo) 
    {
        this.accessionNo = accessionNo;
    }

    public String getAccessionNo() 
    {
        return accessionNo;
    }

    public void setStudyNo(String studyNo) 
    {
        this.studyNo = studyNo;
    }

    public String getStudyNo() 
    {
        return studyNo;
    }

    public void setStudyIuid(String studyIuid) 
    {
        this.studyIuid = studyIuid;
    }

    public String getStudyIuid() 
    {
        return studyIuid;
    }

    public void setMode(String mode) 
    {
        this.mode = mode;
    }

    public String getMode() 
    {
        return mode;
    }

    public void setStudyDesc(String studyDesc) 
    {
        this.studyDesc = studyDesc;
    }

    public String getStudyDesc() 
    {
        return studyDesc;
    }

    public void setSolt(String solt) 
    {
        this.solt = solt;
    }

    public String getSolt() 
    {
        return solt;
    }

    public void setCreatedTime(Date createdTime) 
    {
        this.createdTime = createdTime;
    }

    public Date getCreatedTime() 
    {
        return createdTime;
    }

    public void setUpdatedTime(Date updatedTime) 
    {
        this.updatedTime = updatedTime;
    }

    public Date getUpdatedTime() 
    {
        return updatedTime;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("deptId", getDeptId())
            .append("patId", getPatId())
            .append("studyTime", getStudyTime())
            .append("uploadTime", getUploadTime())
            .append("accessionNo", getAccessionNo())
            .append("studyNo", getStudyNo())
            .append("studyIuid", getStudyIuid())
            .append("mode", getMode())
            .append("studyDesc", getStudyDesc())
            .append("solt", getSolt())
            .append("createdTime", getCreatedTime())
            .append("updatedTime", getUpdatedTime())
            .toString();
    }
}
